package org.com.yz.dal.dao.mapper;

import org.apache.ibatis.annotations.Param;
import org.com.yz.dal.dao.model.WithDraw;
import org.com.yz.dal.dao.model.WithDrawInfo;
import util.MyMapper;

import java.util.List;

/**
 * <p>
 * 提现记录表 Mapper 接口
 * </p>
 *
 * @author wzc123
 * @since 2018-08-02
 */
public interface WithDrawInfoMapper extends MyMapper<WithDrawInfo> {


    String selectSno(String orderNo);

    WithDraw selectWithDraw(@Param("orderNo")String orderNo, @Param("mchAccntNo")String mchAccntNo, @Param("mchNo")String mchNo);

    int updateWithDrawInfo(WithDrawInfo withDrawInfo);

    List<WithDrawInfo> selectWithDrawInfoByDate(WithDrawInfo withDrawInfo);
}
